// pages/index/dayi/zhuti/huifu/huifu.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    autoFocus: false,
    showKeyboard: false,
    value: ''
  },
  toggleKeyboard() {
    this.setData({ showKeyboard: !this.data.showKeyboard })
  },
    // 普通输入框事件
    onFocus() {
      console.log('键盘已弹出');
      this.setData({ autoFocus: true });
    },
    
    onBlur() {
      console.log('键盘已收起');
      this.setData({ autoFocus: false });
    },
  onClickLeft() {
    wx.showToast({ title: '点击返回', icon: 'none' });
    wx.navigateBack();
  },
  onClickRight() {
    wx.showToast({ title: '点击按钮', icon: 'none' });
    wx.navigateBack();
  }
  
})